package DataLayer.Model;

/**
 * keeps info about: by.
 * 
 * @author Gruppe 4 - Dennis Biil, Brian Smed, Kristian Henriksen og Anders Engbo
 * @version 1.0
 */
public class By
{
	private String by;
	private int nr;

	/**
	 * Constructor
	 */
	public By(String by, int nr)
	{
		this.by = by;
		this.nr = nr;
	}

	/**
	 * Empty Constructor
	 */
	public By()
	{
		by = "";
		nr = 0;
	}

	/**
	 * Set and get methods
	 */
	public String getBy()
	{
		return by;
	}

	public void setBy(String by)
	{
		this.by = by;
	}

	public int getNr()
	{
		return nr;
	}

	public void setNr(int nr)
	{
		this.nr = nr;
	}
}
